Electronic device and electronic device operation method

ABSTRACT

An electronic device may include a housing, a motor, a display including a region that, by using at least the motor, is expandable to the outside of the housing or reducible to the inside of the housing a memory, and a processor, wherein the memory may store instructions that, when executed, may cause the processor to: execute an application; expand, in response to a specified event, the region of the display to the outside of the housing at a specified reference speed by using the motor; recognize, during the expansion of the region, a time required to display an execution screen of the application on the display; adjust the speed of the motor on the basis of the required time; and display, on the display, the execution screen of the application corresponding to the expanded state of the display during the expansion of the region on the basis of the adjusted speed of the motor.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of International Application No.PCT/KR2021/017276, filed on Nov. 23, 2021, designating the UnitedStates, in the Korean Intellectual Property Receiving Office, andclaiming priority to KR 10-2020-0168640 filed on Dec. 4, 2020 and KR10-2021-0033566 filed on Mar. 15, 2021, the disclosures of which are allhereby incorporated by reference herein in their entireties.

BACKGROUND Field

Certain example embodiments relate to a technique of an electronicdevice including a display capable of expanding and/or reducing a regionfor displaying a screen by using at least a motor.

Description of Related Art

Various types of electronic devices have been developed and distributed.For example, mobile devices, such as a smartphone, a tablet PC, and awearable device, and having various functions as well as an existingdesktop PC, have been extensively spread. In addition, with thedevelopment of technology, electronic devices including flexibledisplays which can expand or reduce screen display regions, have beendeveloped and distributed as well as electronic devices having the fixedtype of displays.

When the screen display region of the display is expanded or reduced ata constant speed by using a motor, a frame may be dropped, instead ofsufficiently reflecting an execution screen of the application tocorrespond to the screen display region of the display, which is changedin the shape or the size, or the execution screen corresponding to thescreen display region may not be smoothly displayed, depending on theperformance of each application.

SUMMARY

Certain example embodiments are to provide an electronic device capableof controlling the speed of a motor based on the performance of anapplication displayed on a display, when a screen display region of adisplay is expanded and/or reduced by using a motor, and/or a method foroperating the electronic device.

According to an example embodiment, an electronic device may include ahousing, a motor, a display including a region movable out of or intothe housing by using the motor, a memory, and a processor operativelyconnected, directly or indirectly, with the motor, the display, and thememory. The memory includes instructions that when executed, may causethe processor to execute an application, move the region of the displayout of the housing at a specific reference speed by using at least themotor, in response to a specific event, recognize a time required todisplay an execution screen of the application on the display whilemoving the region, adjust a speed of the motor, based on the requiredtime, and display the execution screen of the application, whichcorresponds to a state of the display, on the display, while moving theregion at the adjusted speed of the motor.

According to an example embodiment, an electronic device may include ahousing, a motor, a display including a region movable out of or intothe housing by using the motor, a memory, and a processor operativelyconnected, directly or indirectly, with the motor, the display, and thememory. The memory includes instructions that when executed, may theprocessor to execute an application, move the region of the display outof the housing at a specific reference speed by using the motor, inresponse to a specific event, recognize a time required to display anexecution screen of the application on the display while moving theregion, adjust a speed of the motor, based on the required time, anddisplay the execution screen of the application, which corresponds to astate of the display, on the display, while moving the region at theadjusted speed of the motor.

According to certain example embodiments, the speed of the motor used toexpand or reduce the screen display region of the display may becontrolled based on the performance of the application displayed on thedisplay.

According to certain example embodiments, the speed of the motor used toexpand or reduce the screen display region of the display may becontrolled, thereby seamlessly displaying the execution screen of theapplication on the display while the screen display region is beingchanged.

According to certain example embodiments, the speed of the motor used toexpand or reduce the screen display region of the display may becontrolled, thereby reducing a frame drop caused while the screendisplay region is being changed.

Besides, a variety of effects directly or indirectly understood throughthe disclosure may be provided.

BRIEF DESCRIPTION OF DRAWINGS

The above and other aspects, features, and advantages of certain exampleembodiments will be more apparent from the following detaileddescription, taken in conjunction with the accompanying drawings, inwhich:

FIG. 1 is a block diagram illustrating an electronic device in a networkenvironment according to various example embodiments.

FIG. 2 is a block diagram illustrating an electronic device, accordingto an example embodiment;

FIG. 3 is a block diagram of an electronic device, according to anexample embodiment;

FIG. 4 is a system block diagram of an electronic device, according toan example embodiment;

FIG. 5 is a view illustrating a process to display an execution screenof an application, according to an example embodiment;

FIG. 6 is a view illustrating a drawing operation of an application,according to an example embodiment;

FIG. 7 is a view illustrating an operation of an electronic device,according to an example embodiment;

FIGS. 8A and 8B are views illustrating operations of an electronicdevice, according to an example embodiment;

FIG. 9 is a view illustrating the operation of an electronic device,according to an example embodiment;

FIGS. 10A and 10B are views illustrating an operation of an electronicdevice, according to an example embodiment;

FIG. 11 is a flowchart illustrating a method of operating an electronicdevice, according to an example embodiment;

FIG. 12 is a flowchart illustrating a method of operating an electronicdevice, according to an example embodiment;

FIGS. 13A and 13B are views illustrating a front surface and a rearsurface of an electronic device in a slide-in state, according tocertain example embodiments;

FIGS. 14A and 14B are views illustrating a front surface and a rearsurface of an electronic device in a slide-out state, according tocertain example embodiments; and

FIG. 15 is an exploded perspective view of an electronic device,according to certain example embodiments.

With regard to description of drawings, the same or similar componentswill be marked by the same or similar reference signs.

DETAILED DESCRIPTION

FIG. 1 is a block diagram illustrating an electronic device 101 in anetwork environment 100 according to various embodiments. Referring toFIG. 1 , the electronic device 101 in the network environment 100 maycommunicate with an electronic device 102 via a first network 198 (e.g.,a short-range wireless communication network), or at least one of anelectronic device 104 or a server 108 via a second network 199 (e.g., along-range wireless communication network). According to an embodiment,the electronic device 101 may communicate with the electronic device 104via the server 108. According to an embodiment, the electronic device101 may include a processor 120, memory 130, an input module 150, asound output module 155, a display module 160, an audio module 170, asensor module 176, an interface 177, a connecting terminal 178, a hapticmodule 179, a camera module 180, a power management module 188, abattery 189, a communication module 190, a subscriber identificationmodule (SIM) 196, or an antenna module 197. In some embodiments, atleast one of the components (e.g., the connecting terminal 178) may beomitted from the electronic device 101, or one or more other componentsmay be added in the electronic device 101. In some embodiments, some ofthe components (e.g., the sensor module 176, the camera module 180, orthe antenna module 197) may be implemented as a single component (e.g.,the display module 160).

The processor 120 may execute, for example, software (e.g., a program140) to control at least one other component (e.g., a hardware orsoftware component) of the electronic device 101 coupled with theprocessor 120, and may perform various data processing or computation.According to an embodiment, as at least part of the data processing orcomputation, the processor 120 may store a command or data received fromanother component (e.g., the sensor module 176 or the communicationmodule 190) in volatile memory 132, process the command or the datastored in the volatile memory 132, and store resulting data innon-volatile memory 134. According to an embodiment, the processor 120may include a main processor 121 (e.g., a central processing unit (CPU)or an application processor (AP)), or an auxiliary processor 123 (e.g.,a graphics processing unit (GPU), a neural processing unit (NPU), animage signal processor (ISP), a sensor hub processor, or a communicationprocessor (CP)) that is operable independently from, or in conjunctionwith, the main processor 121. For example, when the electronic device101 includes the main processor 121 and the auxiliary processor 123, theauxiliary processor 123 may be adapted to consume less power than themain processor 121, or to be specific to a specified function. Theauxiliary processor 123 may be implemented as separate from, or as partof the main processor 121.

The auxiliary processor 123 may control at least some of functions orstates related to at least one component (e.g., the display module 160,the sensor module 176, or the communication module 190) among thecomponents of the electronic device 101, instead of the main processor121 while the main processor 121 is in an inactive (e.g., sleep) state,or together with the main processor 121 while the main processor 121 isin an active state (e.g., executing an application). According to anembodiment, the auxiliary processor 123 (e.g., an image signal processoror a communication processor) may be implemented as part of anothercomponent (e.g., the camera module 180 or the communication module 190)functionally related to the auxiliary processor 123. According to anembodiment, the auxiliary processor 123 (e.g., the neural processingunit) may include a hardware structure specified for artificialintelligence model processing. An artificial intelligence model may begenerated by machine learning. Such learning may be performed, e.g., bythe electronic device 101 where the artificial intelligence is performedor via a separate server (e.g., the server 108). Learning algorithms mayinclude, but are not limited to, e.g., supervised learning, unsupervisedlearning, semi-supervised learning, or reinforcement learning. Theartificial intelligence model may include a plurality of artificialneural network layers. The artificial neural network may be a deepneural network (DNN), a convolutional neural network (CNN), a recurrentneural network (RNN), a restricted boltzmann machine (RBM), a deepbelief network (DBN), a bidirectional recurrent deep neural network(BRDNN), deep Q-network or a combination of two or more thereof but isnot limited thereto. The artificial intelligence model may, additionallyor alternatively, include a software structure other than the hardwarestructure.

The memory 130 may store various data used by at least one component(e.g., the processor 120 or the sensor module 176) of the electronicdevice 101. The various data may include, for example, software (e.g.,the program 140) and input data or output data for a command relatedthereto. The memory 130 may include the volatile memory 132 or thenon-volatile memory 134.

The program 140 may be stored in the memory 130 as software, and mayinclude, for example, an operating system (OS) 142, middleware 144, oran application 146.

The input module 150 may receive a command or data to be used by anothercomponent (e.g., the processor 120) of the electronic device 101, fromthe outside (e.g., a user) of the electronic device 101. The inputmodule 150 may include, for example, a microphone, a mouse, a keyboard,a key (e.g., a button), or a digital pen (e.g., a stylus pen).

The sound output module 155 may output sound signals to the outside ofthe electronic device 101. The sound output module 155 may include, forexample, a speaker or a receiver. The speaker may be used for generalpurposes, such as playing multimedia or playing record. The receiver maybe used for receiving incoming calls. According to an embodiment, thereceiver may be implemented as separate from, or as part of the speaker.

The display module 160 may visually provide information to the outside(e.g., a user) of the electronic device 101. The display module 160 mayinclude, for example, a display, a hologram device, or a projector andcontrol circuitry to control a corresponding one of the display,hologram device, and projector. According to an embodiment, the displaymodule 160 may include a touch sensor adapted to detect a touch, or apressure sensor adapted to measure the intensity of force incurred bythe touch.

The audio module 170 may convert a sound into an electrical signal andvice versa. According to an embodiment, the audio module 170 may obtainthe sound via the input module 150, or output the sound via the soundoutput module 155 or a headphone of an external electronic device (e.g.,an electronic device 102) directly (e.g., wiredly) or wirelessly coupledwith the electronic device 101.

The sensor module 176 may detect an operational state (e.g., power ortemperature) of the electronic device 101 or an environmental state(e.g., a state of a user) external to the electronic device 101, andthen generate an electrical signal or data value corresponding to thedetected state. According to an embodiment, the sensor module 176 mayinclude, for example, a gesture sensor, a gyro sensor, an atmosphericpressure sensor, a magnetic sensor, an acceleration sensor, a gripsensor, a proximity sensor, a color sensor, an infrared (IR) sensor, abiometric sensor, a temperature sensor, a humidity sensor, or anilluminance sensor.

The interface 177 may support one or more specified protocols to be usedfor the electronic device 101 to be coupled with the external electronicdevice (e.g., the electronic device 102) directly (e.g., wiredly) orwirelessly. According to an embodiment, the interface 177 may include,for example, a high definition multimedia interface (HDMI), a universalserial bus (USB) interface, a secure digital (SD) card interface, or anaudio interface.

A connecting terminal 178 may include a connector via which theelectronic device 101 may be physically connected with the externalelectronic device (e.g., the electronic device 102). According to anembodiment, the connecting terminal 178 may include, for example, a HDMIconnector, a USB connector, a SD card connector, or an audio connector(e.g., a headphone connector).

The haptic module 179 may convert an electrical signal into a mechanicalstimulus (e.g., a vibration or a movement) or electrical stimulus whichmay be recognized by a user via his tactile sensation or kinestheticsensation. According to an embodiment, the haptic module 179 mayinclude, for example, a motor, a piezoelectric element, or an electricstimulator.

The camera module 180 may capture a still image or moving images.According to an embodiment, the camera module 180 may include one ormore lenses, image sensors, image signal processors, or flashes.

The power management module 188 may manage power supplied to theelectronic device 101. According to an embodiment, the power managementmodule 188 may be implemented as at least part of, for example, a powermanagement integrated circuit (PMIC).

The battery 189 may supply power to at least one component of theelectronic device 101. According to an embodiment, the battery 189 mayinclude, for example, a primary cell which is not rechargeable, asecondary cell which is rechargeable, or a fuel cell.

The communication module 190 may support establishing a direct (e.g.,wired) communication channel or a wireless communication channel betweenthe electronic device 101 and the external electronic device (e.g., theelectronic device 102, the electronic device 104, or the server 108) andperforming communication via the established communication channel. Thecommunication module 190 may include one or more communicationprocessors that are operable independently from the processor 120 (e.g.,the application processor (AP)) and supports a direct (e.g., wired)communication or a wireless communication. According to an embodiment,the communication module 190 may include a wireless communication module192 (e.g., a cellular communication module, a short-range wirelesscommunication module, or a global navigation satellite system (GNSS)communication module) or a wired communication module 194 (e.g., a localarea network (LAN) communication module or a power line communication(PLC) module). A corresponding one of these communication modules maycommunicate with the external electronic device via the first network198 (e.g., a short-range communication network, such as Bluetooth™,wireless-fidelity (Wi-Fi) direct, or infrared data association (IrDA))or the second network 199 (e.g., a long-range communication network,such as a legacy cellular network, a 5G network, a next-generationcommunication network, the Internet, or a computer network (e.g., LAN orwide area network (WAN)). These various types of communication modulesmay be implemented as a single component (e.g., a single chip), or maybe implemented as multi components (e.g., multi chips) separate fromeach other. The wireless communication module 192 may identify andauthenticate the electronic device 101 in a communication network, suchas the first network 198 or the second network 199, using subscriberinformation (e.g., international mobile subscriber identity (IMSI))stored in the subscriber identification module 196.

The wireless communication module 192 may support a 5G network, after a4G network, and next-generation communication technology, e.g., newradio (NR) access technology. The NR access technology may supportenhanced mobile broadband (eMBB), massive machine type communications(mMTC), or ultra-reliable and low-latency communications (URLLC). Thewireless communication module 192 may support a high-frequency band(e.g., the mmWave band) to achieve, e.g., a high data transmission rate.The wireless communication module 192 may support various technologiesfor securing performance on a high-frequency band, such as, e.g.,beamforming, massive multiple-input and multiple-output (massive MIMO),full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, orlarge scale antenna. The wireless communication module 192 may supportvarious requirements specified in the electronic device 101, an externalelectronic device (e.g., the electronic device 104), or a network system(e.g., the second network 199). According to an embodiment, the wirelesscommunication module 192 may support a peak data rate (e.g., 20 Gbps ormore) for implementing eMBB, loss coverage (e.g., 164 dB or less) forimplementing mMTC, or U-plane latency (e.g., 0.5 ms or less for each ofdownlink (DL) and uplink (UL), or a round trip of lms or less) forimplementing URLLC.

The antenna module 197 may transmit or receive a signal or power to orfrom the outside (e.g., the external electronic device) of theelectronic device 101. According to an embodiment, the antenna module197 may include an antenna including a radiating element composed of aconductive material or a conductive pattern formed in or on a substrate(e.g., a printed circuit board (PCB)). According to an embodiment, theantenna module 197 may include a plurality of antennas (e.g., arrayantennas). In such a case, at least one antenna appropriate for acommunication scheme used in the communication network, such as thefirst network 198 or the second network 199, may be selected, forexample, by the communication module 190 (e.g., the wirelesscommunication module 192) from the plurality of antennas. The signal orthe power may then be transmitted or received between the communicationmodule 190 and the external electronic device via the selected at leastone antenna. According to an embodiment, another component (e.g., aradio frequency integrated circuit (RFIC)) other than the radiatingelement may be additionally formed as part of the antenna module 197.

According to various embodiments, the antenna module 197 may form ammWave antenna module. According to an embodiment, the mmWave antennamodule may include a printed circuit board, a RFIC disposed on a firstsurface (e.g., the bottom surface) of the printed circuit board, oradjacent to the first surface and capable of supporting a designatedhigh-frequency band (e.g., the mmWave band), and a plurality of antennas(e.g., array antennas) disposed on a second surface (e.g., the top or aside surface) of the printed circuit board, or adjacent to the secondsurface and capable of transmitting or receiving signals of thedesignated high-frequency band.

At least some of the above-described components may be coupled mutuallyand communicate signals (e.g., commands or data) therebetween via aninter-peripheral communication scheme (e.g., a bus, general purposeinput and output (GPIO), serial peripheral interface (SPI), or mobileindustry processor interface (MIPI)).

According to an embodiment, commands or data may be transmitted orreceived between the electronic device 101 and the external electronicdevice 104 via the server 108 coupled with the second network 199. Eachof the electronic devices 102 or 104 may be a device of a same type as,or a different type, from the electronic device 101. According to anembodiment, all or some of operations to be executed at the electronicdevice 101 may be executed at one or more of the external electronicdevices 102, 104, or 108. For example, if the electronic device 101should perform a function or a service automatically, or in response toa request from a user or another device, the electronic device 101,instead of, or in addition to, executing the function or the service,may request the one or more external electronic devices to perform atleast part of the function or the service. The one or more externalelectronic devices receiving the request may perform the at least partof the function or the service requested, or an additional function oran additional service related to the request, and transfer an outcome ofthe performing to the electronic device 101. The electronic device 101may provide the outcome, with or without further processing of theoutcome, as at least part of a reply to the request. To that end, acloud computing, distributed computing, mobile edge computing (MEC), orclient-server computing technology may be used, for example. Theelectronic device 101 may provide ultra low-latency services using,e.g., distributed computing or mobile edge computing. In anotherembodiment, the external electronic device 104 may include aninternet-of-things (IoT) device. The server 108 may be an intelligentserver using machine learning and/or a neural network. According to anembodiment, the external electronic device 104 or the server 108 may beincluded in the second network 199. The electronic device 101 may beapplied to intelligent services (e.g., smart home, smart city, smartcar, or healthcare) based on 5G communication technology or IoT-relatedtechnology.

FIG. 2 is a block diagram of an electronic device, according to anembodiment.

According to an embodiment, an electronic device 200 (e.g., theelectronic device 101 of FIG. 1 ) may include a motor 210, a display 220(e.g., the display module 160 of FIG. 1 ), a memory 230 (e.g., thememory 130 of FIG. 1 ), and/or a processor 240 (e.g., the processor 120of FIG. 1 ).

According to an embodiment, the motor 210 may move a partial region ofthe display 220 out of the housing of the electronic device 200 or intothe housing. For example, the motor 210 may change the size of a region(e.g., a screen display region) illustrated outside the display 220(e.g., a sliding display 220 or a rollable display 220).

According to an embodiment, the display 220 may include the flexibledisplay 220 (e.g., the sliding display 220 or the rollable display 220).For example, the display 220 may include a region which is movable outof the housing of the electronic device 200 or into the housing. Forexample, a partial region of the display 220 may be inserted into thehousing to be covered by the housing. For example, the size or shape ofthe screen display region of the display 220 may be changed, as thepartial region of the display 220 is moved out of the housing or intothe housing. For example, when the partial region of the display 220 ismoved out of the housing, the screen display region may be expanded.When the partial region of the display 220 is moved into the housing,the screen display region may be reduced. According to an embodiment,the speed for moving the partial region of the display 220 out of orinto the housing may be varied depending on the speed of the motor 210.

According to an embodiment, the memory 230 may store instructions forcontrolling the operation of the electronic device 200, when executed bythe processor 240. According to an embodiment, the memory 230 mayinclude at least one application (e.g., the application 146 of FIG. 1and/or FIG. 2 ).

According to an embodiment, the processor 240 may control the overalloperation of the electronic device 200. According to an embodiment, theprocessor 240 may include a main processor (not illustrated; the mainprocessor 121 of FIG. 1 ) which controls the main operation of theelectronic device 200 and an auxiliary processor (not illustrated; aGPU; e.g., the auxiliary processor 123 of FIG. 1 ) to perform a graphicprocessing operation.

According to an embodiment, the processor 240 may execute an application(e.g., the application 146 of FIG. 1 ) and may display an executionscreen of the application on the display 220.

According to an embodiment, the processor 240 may move a partial regionof the display 220 out of the housing at a specific reference speed byusing the motor 210 or may move the partial region of the display 220into the housing at the specific reference speed, in response to aspecified event. For example, the processor 240 may expand or reduce aregion viewed at the outside of the display 220 by using the motor 210.According to an embodiment, the specific event may include a user inputor the state of the electronic device 200 for changing the shape (e.g.,the form factor) of the display 220 of the electronic device 200.According to an embodiment, the processor 240 may sense the shape of thedisplay 220 changed using a sensor (not illustrated), or may sense thedriving speed of the motor 210 to move the partial region of the display220 out of or into the housing.

According to an embodiment, the processor 240 may recognize the timerequired to display the execution screen of the application on thedisplay 220 during movement of the display 220 (e.g., the screen displayregion of the display 220). According to an embodiment, a time requiredto display the execution screen of the application may include at leastone of a time required to determine the size of views included in theexecution screen of the application, a time required to determine thelayout of the views, and a time required to draw the execution screeninto a frame buffer for the application, based on the determined viewand the layout. For example, the view may refer to an object for formingan execution screen of an application.

According to an embodiment, the processor 240 may store, in the memory230, information on a time required to display the execution screen ofthe application.

According to an embodiment, the processor 240 may recognize a timerequired to display the execution screen for each activity of theapplication, and may store, in the memory 230, information on the timerequired to display the execution screen for each activity. For example,the activity may be unit of the execution screen included in theapplication. For example, the application may include a plurality ofexecution screens (e.g., activities). According to an embodiment, thetime required to display the execution screen for each activity mayinclude a time required when an execution screen corresponding to theactivity is first drawn, a time required to change at least a portion ofthe execution screen corresponding to the latest activity, and anaverage value of times accumulated, which are required to change atleast a portion of the execution screen corresponding to the activity.

According to an embodiment, the processor 240 may adjust the size of theframe buffer for the application, based on the size of the region, whichis viewed outside, of the display 220. According to an embodiment, theframe buffer may be included in the memory 230 or may be formed as aseparate storage space. For example, the frame buffer may be a storagespace to store the execution screen of the application. According to anembodiment, the change in the shape of the display may change the timerequired to generate or store the execution screen of the applicationand/or the size of the frame buffer. For example, the time required todisplay the execution screen of the application may be varied dependingon the configuration (e.g., the complexity), the transparency, and avisual effect application of the execution screen. For example, as theregion, which is viewed outside, of the display 220 (e.g., the screendisplay region of the display 220) is expanded, the size of the framebuffer for the application may be increased. As the region, which isviewed outside, of the display 220 is reduced, the size of the framebuffer for the application may be reduced.

According to an embodiment, the processor 240 may adjust the speed ofthe motor 210, based on the time required to display the executionscreen of the application. According to an embodiment, the processor 240may adjust the speed of the motor 210, based on the time required todisplay the execution screen corresponding to the activity, which iscurrently executed, of activities included in the application.

According to an embodiment, the processor 240 may adjust the speed ofthe motor 210 in the range of the specific maximum or high motor speedand the specific minimum or low motor speed. For example, even if theexecution screen of the application is displayed within a shorter periodof time, when the motor 210 excessively speeds up, the electronic device200 may be broken, or an unintentional impact may be applied to aphysical body of a user. To the contrary, even if the execution screenof the application is displayed within a longer period of time, when themotor 210 excessively slows up, the time required to change the shape ofthe display 220 is prolonged, such that a user feels inconvenient.According to an embodiment, the processor 240 may adjust the speed ofthe motor 210 within a specific range.

For example, the processor 240 may adjust the driving speed of the motor210, based on the performance (e.g., the time required to draw) of theapplication, thereby adjusting the number of execution screens (frames)to be drawn while expanding or reducing the region (e.g., the screendisplay region), which is viewed outside, of the display 220. Forexample, the processor 240 may adjust the driving speed of the motor210, based on the performance (e.g., the time required to draw) of theapplication, thereby controlling the speed for changing the size of thescreen display region of the display 220 to corresponding to the timerequired to draw the execution screen. For example, on the assumptionthat the performance (e.g., the time required to draw) of theapplication is 48 msec, and the total time required to change thereduced region (e.g., the screen display region), which is viewedoutside, of the display 220 to an expanded region, which is viewedoutside, of the display 220 is 1000 msec, the processor 240 may draw theexecution screen of the application by frames (1000 msec/48 msec) duringthe driving time (e.g., during the time to move the display). Forexample, the driving time of the motor 210 may refer to a time requiredto change the region (e.g., the screen display region), which is viewedoutside, of the display 220 from the maximum reduced state to themaximum expanded state (or from the maximum expanded state to themaximum reduced state) at the driving speed of the motor 210. Forexample, when the driving speed of the motor 210 is adjusted to 3,000msec, the processor 240 may draw the execution screen of the applicationby 62 frames (3000 msec/48 msec) for the driving time (e.g., the time tomove the display 220) of the motor 210. For example, when the processor240 increases the driving time of the motor 210 (e.g., decreases thespeed of the motor 210), the speed for changing the size of the screendisplay region of the display is decreased, and the processor 240 maydraw the execution screen (e.g., updates the frame) to correspond to thechanged size of the screen display region. For example, when the maximumdriving time of the specific motor 210 of the application is 1,500 msec,and the minimum driving time is 800 msec, the processor 240 may adjustthe driving time of the motor 210 to 1,500 msec which is the maximumdriving time. For example, the processor 240 may draw the executionscreen of the application by 31 frames (1500 msec/48 msec), for thedriving time (e.g., the moving time of the display) of the motor 210.For example, when the driving speed of the motor 210 is adjusted, basedon the drawing time of the application, thereby increasing the number ofexecution screens (frames) to be drawn while expanding or reducing theregion (e.g., the screen display region), which is viewed outside, ofthe display 220. For example, the processor 240 may draw more manyexecution screens corresponding to the shape (e.g., the size of theregion, which is viewed outside, of the display 220, or the screendisplay region of the display 220) of the display 220, while expandingor reducing the region, which is viewed outside, of the display 220.Accordingly, the processor 240 may more seamlessly and smoothly provide,to the user, execution screens suitable for the display 220, which isbeing changed, while expanding or reducing the region, which is viewedoutside, of the display 220, thereby reducing dropped frames.

According to an embodiment, the processor 240 adds up times required todisplay execution screens of a plurality of applications and may adjustthe speed of the motor 210 based on the added-up time, while executingthe plurality of applications through the multi-window. For example,simultaneously displaying the execution screens of the plurality ofapplications requires a time obtained by adding up times to display(draw) the execution screens of the applications. For example, theprocessor 240 may require a first time required to draw the executionscreen of a first application, and a second time required to draw anexecution screen of a second application. For example, when theexecution screen of the first application and the execution screen ofthe second application are simultaneously displayed in the form of themulti-window, the time obtained by adding up the first time and thesecond time are required to draw the whole screens (e.g., the executionscreen of the first application and the execution screen of the secondapplication). For example, in this case, the processor 240 may adjustthe speed of the motor 210 based on the time obtained by adding up thefirst time and the second time.

According to an embodiment, the processor 240 may control the speed ofthe motor 210 based on the stored performance information of theapplication. According to an embodiment, the performance information mayinclude information on the time required to draw the execution screensupported by the application. For example, the information on thedrawing time may include the maximum drawing time, the minimum drawingtime, and an average drawing time. For example, the performanceinformation may be contained, as metadata of the application, in theapplication by a developer (or a distributor) of the application. Forexample, when the application is distributed, the metadata including theperformance information may be contained in the application.

According to an embodiment, the processor 240 may adjust the speed ofthe motor 210, based on at least one of the performance of the processor240, the communication state of the electronic device 200, and anavailable capacity of the memory 230 of the electronic device 200. Forexample, the time required to display (e.g., draw) the execution screenof the application may be varied depending on a current state (e.g., thespeed of the processor 240, the available resources of the processor240, the communication state of the electronic device 200, and/or thememory capacity of the electronic device 200) of the electronic device200. According to an embodiment, the processor 240 may adjust the speedof the motor 210 depending on the state of the electronic device 200.

According to an embodiment, the processor 240 may display an executionscreen of an application corresponding to the extended state of thedisplay 220, on the display 220, while expanding the screen displayregion of the display 220 based on the adjusted speed of the motor 210.For example, when the screen display region of the display 220 isexpanded or reduced, the processor 240 may create a new execution screenof the application to correspond to the changed shape of the display 220and may display the new execution screen on the display 220. Forexample, while the display 220 is expanded, the processor 240 maydisplay an execution screen of the application on the display 220, inthe form corresponding to the shape (e.g., size) of the expanded display220. According to an embodiment, the processor 240 may adjust the speedof the motor 210 to correspond to the time required to display all theexecution screens of the application, thereby reducing frames droppedcaused while expanding the display 220 and seamlessly changing theexecution screen of the application to correspond to the display 220expanded.

FIG. 3 is a block diagram of an electronic device according to anembodiment. Hereinafter, the duplication of the description made withreference to FIG. 2 will be omitted described in brief.

According to an embodiment, an electronic device 300 (e.g., theelectronic device 101 in FIG. 1 or the electronic device 200 in FIG. 2 )may include an I/O bus 305, a display 310 (e.g., the display module 160in FIG. 1 or the display 220 in FIG. 2 ), a sensor 320 (e.g., the sensormodule 176 in FIG. 1 ), a motor 330 (e.g., the motor 210 of FIG. 2 ), atouch panel 340 (e.g., the input module 150 of FIG. 1 ), a frame buffer350 (e.g., the memory 130 of FIG. 1 or the memory 230 of FIG. 2 ), amemory 360 (e.g., the memory 130 of FIG. 1 or the memory 230 of FIG. 2), an input module 370 (e.g., the input module 150 of FIG. 1 ,comprising circuitry), a GPU 380 (e.g., the auxiliary processor 123 ofFIG. 1 or the processor 240 of FIG. 2 ) and/or a processor 390 (e.g.,the main processor 121 of FIG. 1 or the processor 240 of FIG. 2 ).

According to an embodiment, the I/O bus 305 may be an electrical pathallowing the communication of each of components (e.g., the display 310,the sensor 320, the motor 330, the touch panel 340, the frame buffer350, the memory 360, the input module 370 comprising circuitry, the GPU380, and/or the processor 390) of the electronic device 300. Forexample, the I/O bus 305 may transmit and receive data (signal) betweencomponents of the electronic device 300.

According to an embodiment, the display 310 may display an executionscreen of an application (e.g., the application 146 of FIG. 1 ). Forexample, the display 310 may output an execution screen stored in theframe buffer 350. For example, the display 310 may output an executionscreen of the application based on color values of pixels stored in theframe buffer 350. According to an embodiment, the display 310 mayinclude a flexible display 310 (e.g., the slidable display 310 or therollable display 310). For example, the region, which is viewed outside,of the display 310, may be expanded out of the housing of the electronicdevice 300, or may be reduced inside the housing. For example, a partialregion of the display 310 may be inserted into the housing to be coveredby the housing. For example, the size or shape of the screen displayregion of the display 310 may be changed, as the partial region of thedisplay 310 is moved out of the housing or into the housing. Forexample, when the partial region of the display 310 is moved out of thehousing, the screen display region may be expanded. When the partialregion of the display 310 is moved into the housing, the screen displayregion may be reduced. According to an embodiment, the speed for movingthe partial region of the display 310 out of or into the housing may bevaried depending on the speed of the motor 330.

According to an embodiment, the sensor 320 may sense that a regionviewed outside the display 310 of the electronic device 300 is expandedor reduced. According to an embodiment, the sensor 320 may sense adriving speed of the motor 330.

According to an embodiment, the motor 330 may move the partial region ofthe display 310 out of the housing of the electronic device 300 or intothe housing.

According to an embodiment, the touch panel 340 may detect a touch inputof a user. For example, the touch panel 340 may include a touch screenpanel. For example, the touch panel 340 may form a touch screen togetherwith the display 310.

According to an embodiment, the frame buffer 350 may be included in thememory 360 or 230 or may be formed as a separate storage space. Forexample, the frame buffer 350 may store an execution screen of theapplication which is drawn. For example, the frame buffer 350 may storecolor values of pixels included in the execution screen. According to anembodiment, the frame buffer 350 may be included in the GPU 380 or thememory 360. For example, some storage spaces of the memory 360 may beused as the frame buffer 350.

According to an embodiment, the memory 360 may store instructions forcontrolling the operation of the electronic device 300, when executed bythe processor 390. According to an embodiment, the memory 360 mayinclude at least one application (e.g., the application 146 of FIG. 1and/or FIG. 2 ).

According to an embodiment, the input module 370 (e.g., the input module370 and 150 of FIG. 1 ) may receive a command or data to be used in thecomponent (e.g., the processor 390) of the electronic device 300 fromthe outside (e.g., a user) of the electronic device 300.

According to an embodiment, the graphic processing unit (GPU) 380 maycontrol an operation of drawing an execution screen of an applicationand storing the execution screen in the frame buffer 350. According toan embodiment, the GPU 380 may recognize the time required when drawingor updating the execution screen, and provide information on the timerequired to the processor 390. According to an embodiment, the GPU 380may draw an execution screen of an application corresponding to theexpanded state or the reduced state of the display 310. For example, theGPU 380 may draw the execution screen corresponding to the state (shape)of the display 310 and store the execution screen in the frame buffer350 based on the information on the expanded state or the reduced stateof the display 310, which is received from the processor 390. Accordingto an embodiment, the GPU 380 may control the display 310 to display theexecution screen stored in the frame buffer 350. According to anembodiment, the GPU 380 may be included in the processor 390. Forexample, the processor 390 and the GPU 380 may be provided in the formof one chip set. According to an embodiment, the operation of the GPU380 may be performed by the processor 390.

According to an embodiment, the processor 390 may control the overalloperation of the electronic device 300. According to an embodiment, theprocessor 390 may execute an application and may display an executionscreen of the application on the display 310. According to anembodiment, the processor 390 may move a partial region of the display310 out of the housing at a specific reference speed by using the motor330 or 210 or may move the partial region of the display 310 into thehousing at the specific reference speed, in response to a specifiedevent. For example, the processor 390 may expand or reduce the screendisplay region of the display 310, by using the motor 330.

According to an embodiment, the processor 390 may recognize a timerequired to display the execution screen of the application on thedisplay 310, while expanding the display 310 (e.g., the screen displayregion of the display 310) and may store information on the recognizedtime in the memory 360. According to an embodiment, the processor 390may adjust the size of the frame buffer for the application, based onthe shape in which the display 310 is expanded or reduced.

According to an embodiment, the processor 390 may adjust the speed ofthe motor 330, based on the time required to display the executionscreen of the application.

According to an embodiment, the processor 390 may display an executionscreen of an application corresponding to the state of the display 310,on the display 310, while expanding the screen display region of thedisplay 310 based on the adjusted speed of the motor 330. For example,the processor 390 may control the GPU 380 to draw the execution screenof the application, which corresponds to the state of the display 310,and to display the execution screen of the application on the display310.

FIG. 4 is a system block diagram of an electronic device according to anembodiment.

According to an embodiment, the system of an electronic device 400(e.g., the electronic device 101 in FIG. 1 , the electronic device 200in FIG. 2 , or the electronic device 300 in FIG. 3 ) may include anapplication 401 (e.g., the application 146 of FIG. 1 ), a window manager(a display manager) 403, a graphic composer 405, a frame buffer 407(e.g., the memory 130 of FIG. 1 , the memory 230 of FIG. 2 , or theframe buffer 350 of FIG. 3 ), a display controller 409, a powercontroller 411, a power manager 413, a touch screen panel (TSP) 415, akey 417, a mouse 419, a motor sensor 421, a motor manager 423, a slidingsensor 425, a sliding manager 427, and/or an app performance motorcontrol system 430.

According to an embodiment, the window manager 403 may overall controlor manage the screen (e.g., the execution screen of the application 401)displayed on the display (e.g., the display module 160 of FIG. 1 , thedisplay 220 of FIG. 2 , or the display 310 of FIG. 3 ).

According to an embodiment, the graphic composer 405 may generate theexecution screen by synthesizing the component (e.g., the layer) formingthe execution screen. For example, the graphic composer 405 may draw theexecution screen and may store the execution screen in the frame buffer407.

According to an embodiment, the frame buffer 407 may store the drawnexecution screen. For example, the frame buffer 407 may store colorvalues of pixels included in the execution screen. According to anembodiment, the size of the frame buffer 407 may be adjusted dependingon the shape (e.g., the size or the shape of the region, which is viewedoutside) of the display.

According to an embodiment, the display controller 409 may control thedisplay. For example, the display controller 409 may output an executionscreen on the display based on color values of pixels stored in theframe buffer 407.

According to an embodiment, the power controller 411 and/or the powermanager 413 may manage power supplied to the electronic device 400. Forexample, the power controller 411 and/or the power manager 413 maysupply power to the components of the electronic device 400, and managethe state of use of power used in the components. According to anembodiment, the power controller 411 and/or the power manager 413 may beimplemented in the form of one integrated component (e.g., a powermanagement integrated circuit (e.g., the power management module 188 ofFIG. 1 , comprising circuitry)).

According to an embodiment, the TSP 415 (e.g., the touch panel 340 ofFIG. 3 ), the key 417 and/or the mouse 419 may receive an input forcontrolling the electronic device 400 from the outside (e.g., a user) ofthe electronic device 400. According to an embodiment, the TSP 415, thekey 417, and/or the mouse 419 may be implemented in the form of oneinput module (e.g., the input module 150 of FIG. 1 or the input module370 of FIG. 3 ).

According to an embodiment, the motor sensor 421 may sense an operationof a motor (e.g., the motor 210 of FIG. 2 or the motor 330 of FIG. 3 )to expand a portion of the display out of the housing or reduce theportion of the display by inserting the portion of the display into thehousing. For example, the motor sensor 421 may sense an activation stateof the motor and/or a driving speed of the motor.

According to an embodiment, the motor manager 423 may control anoperation of the motor. For example, the motor manager 423 may activateor deactivate the motor, or adjust the driving speed of the motor underthe control of a main controller 436.

According to an embodiment, the sliding sensor 425 may sense whether thedisplay is expanded or reduced. For example, the sliding sensor 425 maysense the sliding of the display. For example, the sliding sensor 425may detect that the shape (e.g., a form factor) of the display ischanged.

According to an embodiment, the sliding manager 427 may controlexpansion or reduction of the region, which is viewed outside, of thedisplay. For example, the sliding manager 427 may change the shape(e.g., a form factor) of the display, in response to a specific event.

According to an embodiment, the app performance motor control system 430may control the motor, based on the performance (e.g., the drawing time)of the application 401. According to an embodiment, the app performancemotor control system 430 may include an app performance manager 431, acomputing motor speed manager 432, the main controller (e.g., theprocessor 120 of FIG. 1 , the processor 130 of FIG. 2 , or the processor390 of FIG. 3 ) 436, a system event receiver 433, a context manager 434,and/or an input handler 435. Each processor herein comprises processingcircuitry.

According to an embodiment, the app performance manager 431 mayrecognize and store the performance of the application 401. For example,the app performance manager 431 may recognize the time required todisplay the execution screen of the application 401. According to anembodiment, a time required to display the execution screen of theapplication 401 may include at least one of a time required to determinethe size of views included in the execution screen of the application401, a time required to determine the layout of the views, and a timerequired to draw the execution screen into a frame buffer 407 for theapplication 401, based on the determined view and the layout. Accordingto an embodiment, the app performance manager may recognize a timerequired to display the execution screen for each activity of theapplication 401, and may store information on the time required todisplay the execution screen for each activity. According to anembodiment, the time required to display the execution screen for eachactivity may include a time required when an execution screencorresponding to the activity is first drawn, a time required to changeat least a portion of the execution screen corresponding to the latestactivity, and an average value of times accumulated, which are requiredto change at least a portion of the execution screen corresponding tothe activity.

According to an embodiment, the motor speed manager 432 may calculatethe driving speed of the motor based on the performance of theapplication 401 (e.g., the time required to draw the execution screen ofthe application 401). For example, the motor speed calculation manager432 may determine the driving speed of the motor to correspond to thetime required to display the execution screen of the application 401 onthe display based on the performance of the application 401. Accordingto an embodiment, the motor speed calculation manager 432 may determinethe speed (motor driving time) of the motor within a range between aspecified maximum motor speed (minimum motor driving time) and a minimummotor speed (maximum motor driving time).

According to an embodiment, the system event receiver 433 may detect anevent occurring in the electronic device 400. For example, the event mayinclude a specific event for expanding or reducing the display.

According to an embodiment, the context manager 434 may determine thecontext of an event sensed by the system event receiver 433 or an inputsensed by the input handler 435 and transmit information, whichcorresponds to the event or input, to the main controller 436 based onthe determined context.

According to an embodiment, the input handler 435 may detect an inputreceived through the TSP 415, the key 417, and/or the mouse 419.

According to an embodiment, the main processor (e.g., the main processor121 of FIG. 1 and the processor 240 of FIG. 2 ) may control the overalloperation of the electronic device 400. For example, the main processormay control the operation of each of components included in the systemof the electronic device 400 and transmit data (information) betweencomponents. For example, the main processor may control the electronicdevice 400 to perform an operation corresponding to the event or thereceived input, based on the information received from the contextmanager 434. For example, the main processor may transmit a controlsignal for controlling the operation of each component included in thesystem of the electronic device 400, to the each component. For example,the main processor may transmit performance information of theapplication 401 recognized and stored by the app performance manager 431and information on the motor driving speed calculated by the motor speedcalculation manager 432 to the sliding manager 427 and/or motor manager423. For example, the main processor may expand or reduce the regionviewed outside the display through the sliding manager 427 and/or themotor manager 423, and may control the speed for expanding or reducingthe region, which is viewed outside, of the display.

According to an embodiment, at least one component of the appperformance motor control system 430 may be integrated. According tovarious embodiments, the operation of the app performance motor controlsystem 430, and the operation of the sliding manager 427, and/or theoperation of the motor manager 432 may be performed by a processor(e.g., a main controller) of the electronic device.

FIG. 5 is a view illustrating a process for displaying an executionscreen of an application according to an embodiment.

According to an embodiment, an electronic device (e.g., the electronicdevice 101 of FIG. 1 , the electronic device 200 of FIG. 2 , theelectronic device 300 of FIG. 3 , or the electronic device 400 of FIG. 4) may perform a plurality of processes to display an execution screen ofan application on a display.

For example, the plurality of processes may include a process ofscanning an input 505, a process 510 of processing a scanned input byfirmware, a process 515 handled by the operating system (OS), a processof processing runtime, a process 525 of processing in the framework, aprocess 530 in which the application draws the screen, a process 535 ofrendering the screen, a 540 process of creating a final execution screen(frame) by synthesizing the rendered screen, a process 550 of outputtingthe execution screen on the display, or a processor 560 of changing(modifying) at least a portion of the execution screen (in response to aspecific event).

According to an embodiment, the process 530 in which the applicationdraws the screen may be a process, which exerts a great influence on thedelay time 570 until the final execution screen is displayed, of theplurality of processes. For example, a time usually required for theprocess 530 in which the application draws the screen may be varieddepending on applications, and may be varied depending on activities(e.g., the screen provided in the application) even in the sameapplication.

According to an embodiment, the electronic device may adjust the speedof the motor (e.g., the motor 210 in FIG. 2 ), based on the timerequired for the process 530 in which the application draws the screento display the execution screen corresponding to the screen displayregion of the display changed, when the partial region of the display ismoved out of or into the housing. For example, when the speed of themotor is adjusted based on the time required for the process 530 inwhich the application draws the screen, the execution screen of theapplication may be smoothly displayed on the display to correspond tothe shape or the size of the screen display region of the display.

FIG. 6 is a view illustrating a drawing operation of an applicationaccording to an embodiment.

According to an embodiment, an application 610 may draw an executionscreen through a view system 620. According to an embodiment, the viewsystem 620 may be a module which entirely manages a view of theapplication 610. According to an embodiment, the view may include anobject forming an execution screen. According to an embodiment, the viewsystem 620 may include a software module which manages a view of anapplication. For example, the view system 620 may include a softwaresystem allowing the application to form and manage the execution screenand may control an input to a touch screen panel (TSP), a key inputand/or an output of the execution screen. For example, the view system620 may transmit a TSP event and/or a key event transmitted from aframework of the electronic device to the views.

According to an embodiment, the view system 620 may include a measuremodule 621, a layout module 623, and/or a draw module 625. According toan embodiment, the measure module 621 may determine the size of each ofthe views included in the execution screen. According to an embodiment,the layout module 623 may determine the position of each view in theexecution screen, based on the size of the views determined by themeasure module 621. According to an embodiment, the draw module 625 maydraw an execution screen into the frame buffer related to theapplication 610, based on the size of views determined by the measuremodule 621 and the position of views determined by the layout module623.

According to an embodiment, an app performance manager 630 may storeinformation on the time required when the execution screen of theapplication 610 is drawn through the view system 620. For example, theapp performance manager 630 may store at least one of a time required toinitially generate the execution screen, a time required to update(e.g., change a portion of the execution screen in response to theevent) of the execution screen, or an average value of accumulated timesrequired to update the execution screen.

According to various embodiments, the operations of the view system 620and the app performance manager 630 may be performed by the processor(e.g., the processor 120 of FIG. 1 , the processor 240 of FIG. 2 , theGPU 380 of FIG. 3 , the processor 390 of FIG. 3 , and/or the maincontroller 436 of FIG. 4 ) of the electronic device.

FIG. 7 is a view illustrating an operation of an electronic deviceaccording to an embodiment.

According to an embodiment, an electronic device 700 (e.g., theelectronic device 101 of FIG. 1 , the electronic device 200 of FIG. 2 ,the electronic device 300 of FIG. 3 , or the electronic device 400 ofFIG. 4 ) and a display 710 (e.g., the display module 160 of FIG. 1 , thedisplay 220 of FIG. 2 , or the display 310 of FIG. 3 ) including aregion which is moved out of or into the housing by using a motor (e.g.,the motor 210 of FIG. 2 or the motor 330 of FIG. 3 ). For example, thedisplay 710 may include the slidable display 710 or the rollable display710. For example, the partial region of the display 710 may be insertedinto the housing to be covered by the housing or may be viewed out ofthe housing. For example, the shape or the size of the region (thescreen display region), which displays the screen, of the display 710may be changed through the motor. For example, the screen display regionof the display 710 may be expanded or reduced by a region 715.

According to an embodiment, the electronic device 700 may display theexecution screen of the application to correspond to the shape of thedisplay 710. For example, the electronic device 700 may generate (e.g.,draw) and display an execution screen of the application to correspondto the screen display region, which is not expanded as in referencenumeral 730, when the screen display region of the display 710 is notexpanded, and may generate and display the execution screen of theapplication to correspond to the screen display region expanded as inreference numeral 735, when the screen display region of the display 710is expanded. According to an embodiment, the electronic device 700 maychange the size of the frame buffer related to the application, inresponse to the change of the screen display region, when the screendisplay region is changed. For example, when the screen display regionis increased, the electronic device 700 may increase the size of theframe buffer, and may decrease the size of the frame buffer, when thescreen display region is decreased. For example, the electronic device700 may store the execution screen to be drawn into the frame buffer.

FIGS. 8A and 8B are views illustrating operations of an electronicdevice according to an embodiment.

According to an embodiment, an electronic device (e.g., the electronicdevice 101 of FIG. 1 , the electronic device 200 of FIG. 2 , theelectronic device 300 of FIG. 3 , or the electronic device 400 of FIG. 4) may include a display including a region movable out of or into thehousing by using the motor (e.g., the motor 210 of FIG. 2 ).

Referring to FIG. 8A, the electronic device may an execution screen 810,820, or 830 of an application on a display. According to an embodiment,each of the execution screens 810, 820, and 830 may include at least oneobject 801 forming the execution screen. For example, the at least oneobject 801 may include an execution icon of an application. For example,the electronic device may use a motor to move a portion of the displayout of the housing in a state where the portion of the display isinserted into the housing and hidden by the housing. For example, as theportion of the display is moved out of the housing, the screen displayregion of the display may be expanded. For example, the electronicdevice may update the execution screen of the application, as the screendisplay region of the display is expanded. For example, the electronicdevice may draw the execution screen of the application to correspond toan expanded screen display region. For example, the electronic devicemay change the size, shape, and/or arrangement of components (e.g., theat least one object 801 forming an execution screen) of an executionscreen to correspond to the size of an expanded screen display region.For example, when the time required to draw the execution screen by theelectronic device does not correspond to the speed for expanding thedisplay using the motor, the screen display region of the display mayhave the regions 825 and 835 in which the execution screen is notdisplayed. For example, when the speed (e.g., the speed for expandingthe display) for moving the display using the motor is higher than thespeed for drawing the execution screen of the application, the displaymay have the regions 825 and 835 in which the execution screen is notdisplayed on the display.

Referring to FIG. 8B, the electronic device according to an embodimentmay adjust the speed of the motor based on the performance of theapplication (e.g., the time required to draw the execution screen of theapplication). For example, the electronic device may adjust the speed ofthe motor to correspond to the time required to draw the executionscreen of the application, such that the time required to move thedisplay and the time required to draw the execution screen of theapplication are equal to each other or approximates each other. Forexample, when the speed (the speed for expanding the screen displayregion) for moving the display by using motor corresponds to the timerequired to draw the execution screen of the application, an executionscreen 840, 850, or 860 may be displayed to correspond to the shape ofthe display moving or finished in moving. According to an embodiment,each of the execution screens 840, 850, and 860 may include at least oneobject 803 forming the execution screen. For example, the at least oneobject 803 may include an execution icon of an application. For example,the electronic device may change the size, shape, and/or arrangement ofcomponents (e.g., the at least one object 803 forming an executionscreen) of the execution screen to correspond to the size of an expandedscreen display region. For example, unlike FIG. 8A, regions 825 and 835in which the execution screen is not displayed may not occur in thescreen display region of the display. For example, the electronic devicemay adjust the speed of the motor for expanding or reducing the screendisplay region of the display, based on the performance (e.g., the timerequired to draw the execution screen of the application) of theapplication, thereby seamlessly updating the execution screencorresponding to the shape of the display during moving of the display,and reducing the frame drop.

FIG. 9 is a view illustrating an operation of an electronic deviceaccording to an embodiment. For example, FIG. 9 is a graph illustratingthe relationship between the speed for expanding the display by theelectronic device (e.g., the electronic device 101 of FIG. 1 , theelectronic device 200 of FIG. 2 , the electronic device 300 of FIG. 3 ,or the electronic device 400 of FIG. 4 ) and the frame buffer size ofthe application. For example, curves 910 and 930 indicates the size ofthe frame buffer corresponding to the size of the display (e.g., thescreen display region of the display) changed depending on the speed ofthe motor over time, and a bar graph 920 indicates the change state(e.g., the drawing state of the execution screen of the application) ofthe size of the frame buffer over time.

For example, referring to 910, the speed of the motor is not matchedwith the time required to draw the execution screen of the application.For example, only when the size of the frame buffer as in referencenumeral 920 corresponds to the size of the screen region of the display,the execution screen be drawn to correspond to the state of the display(e.g., the form of the display), and the display may not have the regionin which the execution screen is not displayed on the display, actually.For example, as in reference numeral 910, the speed for expanding thescreen display region of the display as a partial region of the displayis moved out of the housing may be greater than the speed for increasingthe frame buffer of the application. For example, the size of the framebuffer actually changed may be smaller than the size value of the framebuffer required to draw the execution screen corresponding to the sizeof the screen display region of the display which is changed. In thiscase, a response delay time “a” may occur, and the difference “b”between the screen of the display and the execution screen drawn by theapplication may be made.

According to an embodiment, the electronic device may adjust the speedof the motor extending the display based on the performance of theapplication (e.g., the time required to draw the execution screen of theapplication). For example, referring to reference numeral 920, when thetime required to resize the frame buffer of the application correspondsto the time required to move the display, unlike reference number 910,the response delay time “a” and/or the difference “b” between the screendisplay region of the display and the execution screen drawn by theapplication may be eliminated or reduced. For example, the size value ofthe frame buffer required to draw the execution screen corresponding tothe size of the screen display region of the changed display maycorrespond to the size of the frame buffer which is actually changed.For example, the screen display region of the display may refer to theregion, which is viewed outside, of the display and/or the region of thedisplay for displaying the execution screen.

FIGS. 10A and 10B are views illustrating operations of an electronicdevice according to an embodiment.

Referring to FIG. 10A, according to an embodiment, an electronic device(e.g., the electronic device 101 of FIG. 1 , the electronic device 200of FIG. 2 , the electronic device 300 of FIG. 3 , or the electronicdevice 400 of FIG. 4 ) may include at least one application 1010.According to an embodiment, the application 1010 may include a pluralityof activities (e.g., a first activity 1011, a second activity 1013,and/or a third activity 1015). For example, the activity may refer tothe unit of the execution screen of the application. For example, theapplication 1010 may include a plurality of activities (e.g., executionscreens; the first activity 1011, the second activity 1013, and/or thethird activity 1015). Referring to FIG. 10A, although it is illustratedthat the application 1010 includes the first activity 1011, the secondactivity 1013, and the third activity 1015, this is provided for theillustrative purpose. For example, the number of activities included inthe application is not limited thereto.

Referring to FIG. 10B, according to an embodiment, an electronic device(e.g., an app performance manager 1020; the app performance manager 431of FIG. 4 ) may store performance information 1030, 1040, or 1050 (e.g.,the time required to display the execution screen of the application) ofthe application 1010. For example, when displaying the execution screenof the application 1010, the app performance manager 1020 may recognizethe time required to display the execution screen and store informationof the recognized time. According to an embodiment, the app performancemanager 1020 may store performance information 1031, 1033, 1041, 1043,1051, or 1053 for each activity 1011, 1013, and 1015 of the application1010. For example, referring to FIG. 10B, the performance information1030 of the first application may include performance information 1031of the first activity of the first application and/or performanceinformation 1033 of the second activity of the first application. Theperformance information 1040 of the second application may includeperformance information 1041 of the first activity of the secondapplication and/or performance information 1043 of the second activityof the second application. The performance information 1050 of the thirdapplication may include performance information 1051 of the firstactivity of the third application and/or performance information 1053 ofthe second activity of the third application. For example, whendisplaying the execution screen of the application 1010, the appperformance manager 1020 may recognize the time required to display theexecution screen for each of the activity 1011, 1013, or 1015 of theapplication 1010 and may store information of the recognized time.According to an embodiment, the time required to display the executionscreen for each activity may include a time required when an executionscreen corresponding to the activity is first drawn, a time required tochange at least a portion of the execution screen corresponding to thelatest activity, and an average value of times accumulated, which arerequired to change at least a portion of the execution screencorresponding to the activity. According to various embodiments, FIG.10B illustrates an example, and performance information managed by theelectronic device (e.g., the app performance manager 1020) is notlimited to the one illustrated in FIG. 10B.

According to an embodiment, the electronic device may adjust the speedof the motor to control the display, based on the performanceinformation (performance information for each activity) of the storedapplication, when expanding or reducing the region, which is viewedoutside, of the display.

According to an example embodiment, the electronic device (e.g., theelectronic device 101 of FIG. 1 , the electronic device 200 of FIG. 2 ,the electronic device of FIG. 3 , the electronic device 400 of FIG. 4 ,or the electronic device 1300 of FIGS. 13 to 14 ) may include a housing,a motor (e.g., the motor 210 of FIG. 2 or the motor 330 of FIG. 3 ), adisplay (e.g., the display module 160 of FIG. 1 , the display 220 ofFIG. 2 , or the display 310 of FIG. 3 ) including a region movable outof or into the housing of the electronic device by using the motor, amemory (e.g., the memory 130 of FIG. 1 , the memory 230 of FIG. 2 , orthe memory 360 of FIG. 3 ), and a processor (e.g., the processor 120 ofFIG. 1 , the processor 240 of FIG. 2 , the processor 390 of FIG. 3 , orthe main controller 436 of FIG. 4 ) operatively connected, directly orindirectly, to the motor, the display, and the memory. The memory maystore instructions that when executed cause the processor to execute anapplication (e.g., the application 146 of FIG. 1 or the application 401of FIG. 4 ), to move the region of the display out of the housing at aspecific speed by using the motor, in response to the specific event, torecognize the time required to display the execution screen of theapplication on the display while moving the region, to adjust the speedof the motor based on the required time, and to display the executionscreen of the application, which corresponds to the state of thedisplay, on the display, while moving the region at the adjusted speedof the motor.

According to an embodiment, the instructions cause the processor toadjust the size of the frame buffer for the application, based on thestate in which the region of the display is moved.

According to an embodiment, the required time may include at least oneof a time required to determine the sizes of views included in theexecution screen of the application, a time required to determine thelayout of the views, and a time required to draw the execution screeninto a frame buffer for the application, based on the determined viewand the determined layout.

According to an embodiment, the instructions may cause the processor torecognize a time required to display the execution screen for eachactivity of the application, and may store, in the memory, informationon the time required to display the execution screen for each activity.

According to an embodiment, the time required to display the executionscreen for each activity may include a time required when an executionscreen corresponding to the activity is first drawn, a time required tochange at least a portion of the execution screen corresponding to thelatest activity, and an average value of times accumulated, which arerequired to change at least a portion of the execution screencorresponding to the activity.

According to an embodiment, the instructions may cause the processor toadjust the speed of the motor, based on the time required to display theexecution screen corresponding to the activity, which is currentlyexecuted, of activities included in the application.

According to an embodiment, the instructions may cause the processor toadjust the speed of the motor in a range of a specific maximum motorspeed and a specific minimum motor speed.

According to an embodiment, the instructions may cause the processor toadd up times required to display execution screens of a plurality ofapplications and may adjust the speed of the motor based on the added-uptime, while executing the plurality of applications through themulti-window.

According to an embodiment, the instructions may cause the processor tocontrol the speed of the motor, based on the performance stored which ispreviously stored in the application.

According to an embodiment, the instructions may cause the processor toadjust the speed of the motor, based on at least one of the performanceof the processor, the communication state of the electronic device, andan available capacity of the memory of the electronic device.

FIG. 11 is a flowchart illustrating a method of operating an electronicdevice according to an embodiment.

According to an embodiment, in operation 1110, an electronic device(e.g., the electronic device 101 of FIG. 1 , the electronic device 200of FIG. 2 , the electronic device 300 of FIG. 3 , or the electronicdevice 400 of FIG. 4 ) may perform an application. According to anembodiment, the electronic device may include the display including theregion movable out of or into the housing.

According to an embodiment, in operation 1115, the electronic device maymaintain the application to be an idle state. For example, theelectronic device may maintain an execution state (e.g., the firstexecution state of the application or the state of the applicationpreviously executed; the execution screen of the application, which ispreviously displayed) of the application.

According to an embodiment, in operation 1120, the electronic device maydetermine whether to draw the execution screen of the application intothe frame buffer related to the application. For example the electronicdevice may display the first execution screen of the application byexecuting the application, or may determine whether to draw theexecution screen to change the execution screen of the application whichis being executed. According to an embodiment, the electronic device mayperform operation 1130 when drawing the execution screen of theapplication, and may perform operation 1115 when not drawing theexecution screen of the application.

According to an embodiment, in operation 1130, the electronic device maydraw the execution screen of the application, and may store theperformance (e.g., the time required to draw the execution screen) ofthe application related to the drawing in the memory. According to anembodiment, the electronic device may adjust the speed of the motor inoperation 1150 by using the stored performance of the application.According to an embodiment, the electronic device may recognize(measure) the performance (e.g., the drawing speed (the time requiredfor drawing)) of the application, and may update information related tothe performance of the application, which is stored in the memory,whenever drawing or updating the execution screen of the application,regardless of whether the screen display region of the display ischanged.

According to an embodiment, in operation 1140, the electronic device maydetermine whether the screen display region (e.g., the size of thescreen display region) of the display is changed (e.g., whether apartial of the display is moved out of or into the housing). Forexample, the electronic device may determine whether the screen displayregion of the display is changed, by using the sensor. According to anembodiment, the electronic device may recognize the reference speed ofthe motor by using the sensor. According to an embodiment, theelectronic device may perform operation 1150 when the screen displayregion of the display is being changed, and may perform operation 1115when the screen display region of the display is not changed (e.g., whenthe shape of the display is not changed).

According to an embodiment, in operation 1150, the electronic device maydetermine the driving speed of the motor, based on the performance ofthe application. For example, the electronic device may adjust (change)the reference speed of the motor to the speed determined based on theperformance of the application, when the screen display region of thedisplay is started to be changed. According to an embodiment, theperformance of the application may include the drawing performance ofthe application. For example, the drawing performance may include thetime required for the application to draw the execution screen in theframe buffer.

According to an embodiment, in operation 1160, the electronic device maycontrol the display by controlling the motor at the determined speed.For example, the electronic device may change the screen display regionof the display at the determined speed. According to an embodiment, theelectronic device may display (update) the execution screen of theapplication on the display moving or finished in moving. For example,the electronic device may display the execution screen generated tocorrespond to the state of the display moving or finished in moving.According to an embodiment, since the speed of the motor is adjustedbased on the performance (drawing performance) of the application, whilethe shape of the display is changed (e.g., expanded), the executionscreen corresponding to the shape of the changed display may beseamlessly displayed, and the frame drop may be reduced.

According to an embodiment, the electronic device may consecutivelyperform operations 1150 and 1160, while the screen display region of thedisplay is being changed (e.g., the partial region of the display ismoving out of or into the housing by using the motor). For example, theelectronic device may recognize (measure) the performance (e.g., thedrawing speed) of the application while the screen display region of thedisplay is being changed, and may determine the driving speed of themotor based on the recognized performance of the application to controlthe motor. For example, the electronic device may consecutively controlthe driving speed of the motor, based on the performance of theapplication while the screen display region of the display is beingchanged. Accordingly, the electronic device may actively control thespeed of the motor while the screen display region of the display isbeing changed, and may display the execution screen corresponding to thescreen display region which is being changed.

FIG. 12 is a flowchart illustrating a method of operating an electronicdevice according to an embodiment.

According to an embodiment, in operation 1210, an electronic device(e.g., the electronic device 101 of FIG. 1 , the electronic device 200of FIG. 2 , the electronic device 300 of FIG. 3 , or the electronicdevice 400 of FIG. 4 ) may perform an application. According to anembodiment, the electronic device may include the display including theregion movable out of or into the housing by using the motor. Forexample, the size of the region for displaying the execution screen onthe display may be changed, as the partial region of the display ismoved out of or into the housing. According to an embodiment, theelectronic device may display the execution screen of the application onthe display (e.g., the screen display region of the display). Accordingto an embodiment, the electronic device may maintain the application tobe in the idle state, until the specific event occurs. For example, theidle state of the application may refer to the state in which theapplication is being executed (e.g., a first execution state of theapplication and/or the previously executed state (e.g., the state ofmaintaining the execution screen of the application previouslydisplayed) of the application).

According to an embodiment, in operation 1220, the electronic device maymove the partial region of the display out of the housing at a specificspeed by using the motor, in response to the specific event. Forexample, the processor may expand the screen display region of thedisplay by using the motor. According to an embodiment, the specificevent may include a user input to change the shape (e.g., a form-factor)of the display of the electronic device or the state of the electronicdevice.

According to an embodiment, in operation 1230, the electronic device mayrecognize the time required to display the execution screen of theapplication on the display, when the partial region of the display isbeing expanded.

According to an embodiment, a time required to display the executionscreen of the application may include at least one of a time required todetermine the size of views included in the execution screen of theapplication, a time required to determine the layout of the views, and atime required to draw the execution screen into a frame buffer for theapplication, based on the determined view and the determined view. Forexample, the view may refer to an object for forming an execution screenof an application.

According to an embodiment, the processor 240 may store, in the memory230, information on a time required to display the execution screen ofthe application.

According to an embodiment, the processor 240 may recognize a timerequired to display the execution screen for each activity of theapplication, and may store, in the memory 230, information on the timerequired to display the execution screen for each activity. For example,the activity may be unit of the execution screen included in theapplication. For example, the application may include a plurality ofexecution screens (e.g., activities). According to an embodiment, thetime required to display the execution screen for each activity mayinclude a time required when an execution screen corresponding to theactivity is first drawn, a time required to change at least a portion ofthe execution screen corresponding to the latest activity, and anaverage value of times accumulated, which are required to change atleast a portion of the execution screen corresponding to the activity.

According to an embodiment, the electronic device may add up timesrequired to display execution screens of a plurality of applications andmay recognize the total required time, while executing the plurality ofapplications through the multi-window.

According to an embodiment, the electronic device may adjust the size ofthe frame buffer for the application, based on the shape in which theregion, which is viewed outside, of the display is expanded or reduced.For example, the frame buffer may be a storage space to store theexecution screen of the application. According to an embodiment, thechange in the shape of the display may change the time required togenerate or store the execution screen of the application and/or thesize of the frame buffer. For example, the time required to display theexecution screen of the application may be varied depending on theconfiguration (e.g., the complexity), the transparency, and a visualeffect application of the execution screen. For example, the electronicdevice may increase the size of the frame buffer for the application, asthe region (e.g., the screen display region of the display), which isviewed outside, of the display is expanded, and may reduce the size ofthe frame buffer for the application, as the region, which is viewedoutside, of the display is reduced.

According to an embodiment, in operation 1240, the electronic device mayadjust the speed of the motor based on the time required to display theexecution screen of the application.

According to an embodiment, the electronic device may adjust the speedof the motor, based on the time required to display the execution screencorresponding to the activity, which is currently executed, ofactivities included in the application. According to an embodiment, theelectronic device may adjust the speed of the motor in the range of thespecific maximum motor speed and the specific minimum motor speed.According to an embodiment, the electronic device adds up times requiredto display execution screens of a plurality of applications and mayadjust the speed of the motor based on the added-up time, whileexecuting the plurality of applications through the multi-window. Forexample, simultaneously displaying the execution screens of theplurality of applications requires for a time obtained by adding updisplaying (drawing) times of the execution screens of the applications.For example, the processor 240 may require a first time required to drawthe execution screen of a first application, and a second time requiredto draw an execution screen of a second application. For example, whenthe execution screen of the first application and the execution screenof the second application are simultaneously displayed in the form ofthe multi-window, the time obtained by adding up the first time and thesecond time are required to draw the whole screens (e.g., the executionscreen of the first application and the execution screen of the secondapplication). For example, in this case, the electronic device mayadjust the speed of the motor based on the time obtained by adding upthe first time and the second time.

According to an embodiment, the electronic device may control the speedof the motor based on information on performance which is previouslystored in the application. According to an embodiment, the performanceinformation may include information on the time required to draw theexecution screen supported by the application. For example, theinformation on the time required to draw the execution screen mayinclude the maximum drawing time, the minimum drawing time, and anaverage drawing time. For example, the performance information may becontained, as metadata of the application, in the application by adeveloper (or a distributor) of the application. For example, when theapplication is distributed, the metadata including the performanceinformation may be contained in the application.

According to an embodiment, the electronic device may adjust the speedof the motor, based on at least one of the performance of the electronicdevice, the communication state of the electronic device, and anavailable capacity of the memory of the electronic device. For example,the time required to display (e.g., draw) the execution screen of theapplication may be varied depending on a current state (e.g., the speedof the electronic device, the available resources of the electronicdevice, the communication state of the electronic device, and/or thememory capacity of the electronic device), of the electronic device.According to an embodiment, the electronic device may adjust the speedof the motor depending on the state of the electronic device.

According to an embodiment, in operation 1250, the electronic device maydisplay the execution screen of the application corresponding to theexpanding state of the display, on the display, while expanding thepartial region of the display at the speed of the motor, which isadjusted. For example, when the screen display region of the display isexpanded or reduced, the electronic device may create a new executionscreen of the application to correspond to the changed shape of thedisplay and may display the new execution screen on the display. Forexample, the electronic device may display, on the display, theexecution screen of the application in the shape corresponding to theshape (e.g., the size) of the display expanded, while the display isbeing expanded. According to an embodiment, the electronic device mayadjust the speed of the motor to correspond to the time required todisplay the execution screen of the application, thereby reducing framesdropped caused while expanding the display and seamlessly changing theexecution screen of the application to correspond to the displayexpanded.

Although FIG. 12 illustrates the operation when the partial region ofthe display is moved out of the housing (e.g., when the size of thescreen display region of the display is expanded), the disclosure is notlimited thereto. When the partial region of the display is moved intothe housing (e.g., when the size of the screen display region of thedisplay is reduced), the electronic device may adjust the speed of themotor based on the time required to display the execution screen of theapplication, and may perform the operation of displaying, on thedisplay, the execution screen of the application, which corresponds tothe state in which the display is reduced, while a partial region isreduced at the adjusted motor speed.

FIGS. 13A and 13B are views illustrating a front surface and a rearsurface of an electronic device in a slide-in state, according tocertain example embodiments. FIGS. 14A and 14B are views illustrating afront surface and a rear surface of an electronic device in a slide-outstate, according to certain example embodiments.

An electronic device 1300 (e.g., the electronic device 101 of FIG. 1 ,the electronic device 200 of FIG. 2 , the electronic device 300 of FIG.3 , or the electronic device 400 of FIG. 4 ) illustrated in FIGS. 13A to14B may be at least partially similar to the electronic device 101 ofFIG. 1 and may further include other embodiments of the electronicdevice.

Referring to FIGS. 13A to 14B, the electronic device 1300 may include afirst housing 1310 (e.g., a first housing structure or a base housing),a second housing 1320 (e.g., a second housing structure or a slidehousing) coupled to the first housing 1310 in a specific first direction(a direction of {circle around (1)}) and by a specific reciprocatingdistance, and a flexible display (e.g., an expandable display) 1330disposed to be supported through at least a portion of the first housing1310 and the second housing 1320. According to an embodiment, theelectronic device 1300 may at least partially form the same plane as atleast a portion of the first housing 1310 in a slide-out state, and mayinclude a bendable member (or a bendable support member) at leastpartially received in the inner space of the second housing 1320 in aslide-in state. According to an embodiment, at least a portion of theflexible display 1330 may be supported by the bendable member in theslide-in state, while received into the inner space of the secondhousing 1320, such that the at least a portion of the flexible display1330 is not viewed. According to an embodiment, at least a portion ofthe flexible display 1330 may be supported by the bendable supportmember at least partially forming the same plane as that of the firsthousing 1310, in the slide-out state, while viewed from the outside.

According to various embodiments, the electronic device 1300 may includea front surface 1300 a (e.g., a first surface), a rear surface 1300 b(e.g., a second surface) facing a direction opposite to a direction ofthe front surface 1300 a, and a side surface surrounding a space betweenthe front surface 1300 a and the rear surface 1300 b. According to anembodiment, the electronic device 1300 may include the first housing1310 including a first side member 1311 and the second housing 1320including a second side member 1321.

According to an embodiment, the first side member 1311 may include afirst side surface 13111 having a first length in a first direction, asecond side surface 13112 extending to have a second length longer thana first length in a direction substantially perpendicular to the firstside surface 13111, and a third side surface 13113 extending insubstantially parallel to the first side surface 13111 from the secondside surface 13112 and having the first length. According to anembodiment, the first side member 1311 may be at least partially formedof a conductive material (e.g., metal). According to an embodiment, thefirst side member 1311 may include a first support member 1312 extendingto at least a portion of the inner space of the first housing 1310. Forexample, the first side member 1311 may be integrally formed with thefirst support member 1312. For another example, the first support member1312 may be formed separately from the first side member 1311 andcoupled to the first side member 1311.

According to various embodiments, the second side member 1321 mayinclude a fourth side surface 13211, which at least partially correspondto the first side surface 13111 and has a third length, a fifth sidesurface 13212, which extends in a direction substantially parallel tothe second side surface 13112 from the fourth side surface 13211 and hasa fourth length longer than the third length, and a sixth side surface13213 which extends from the fifth side surface 13212 to correspond tothe third side surface 13113 and has the third length. According to anembodiment, the second side member 1321 may be at least partially formedof a conductive material (e.g., metal). According to an embodiment, atleast a portion of the second side member 1321 may include a secondsupport member 1322 extending to at least a portion of an inner space ofthe second housing 1320. For example, the second side member 1321 may beintegrally formed with the second support member 1322. For anotherexample, the second support member 1322 may be formed separately fromthe second side member 1321 and coupled, directly or indirectly, to thesecond side member 1322.

According to an embodiment, the first side surface 13111 and the fourthside surface 13211 and/or the third side surface 13113 and the sixthside surface 13213 may be slidably coupled, directly or indirectly, toeach other. According to an embodiment, as at least a portion of thefirst side surface 13111 may be overlapped with at least a portion ofthe fourth side surface 13211, the at least a portion of the first sidesurface 13111 is prevented or reduced from being viewed from theoutside, in the slide-in state. According to an embodiment, as at leasta portion of the third side surface 13113 may be overlapped with atleast a portion of the sixth side surface 13213, the at least a portionof the third side surface 13113 is prevented or reduced from beingviewed from the outside, in the slide-in state. According to anembodiment, at least a portion of the first support member 1312 may beoverlapped with the second support member 1322 in the slide-in state,and a remaining portion of the first support member 1312 may be viewedfrom the outside. Accordingly, the first support member 1312 may includea non-overlap part 1312 a which is not overlapped with the secondsupport member 1322, and an overlap part 1312 b overlapped with thesecond support member 1322. According to an embodiment, the non-overlappart 1312 a and the overlap part 1312 b may be integrally formed.According to an embodiment, the non-overlap part 1312 a and the overlappart 1312 b may be separately provided, and structurally coupled to eachother.

According to various embodiments, the first housing 1310 may include afirst sub-space ‘A’ corresponding to the non-overlap part 1312 a and/ora second sub-space ‘B’ corresponding to the overlap part 1312 b, in thefirst space. According to an embodiment, the first sub-space ‘A’ and thesecond sub-space ‘B’ may be at least partially connected to each otheror separated from each other. According to an embodiment, the firstsub-space ‘A’ may be formed to have a space volume greater than a spacevolume of the second sub-space ‘B’. This is caused due to the overlapstructure in which the second support member 1322 is overlapped with thefirst support member 1312, in the region corresponding to the secondsub-space ‘B’. According to an embodiment, the electronic device 1300may include a plurality of electronic components (e.g., a camera module1316, a sensor module 1317, a flash 1318, the main board (e.g., the mainboard 1350 of FIG. 15 ), or a battery (e.g., the battery 1351 of FIG. 15)) disposed in the first space of the first housing 1310. According toan embodiment, the first sub-space ‘A’ may be utilized as a region fordisposing electronic components (e.g., the camera module 1316, thesensor module 1317, or the flash 1318) which requires a larger mountingapace, requires a thicker mounting thickness, or should operate whileavoiding the overlap structure. According to an embodiment, the secondsub-space ‘B’ may be utilized as a region for electronic components(e.g., the main board 1350 PCB of FIG. 15 or the battery (e.g., thebattery 1351 of FIG. 15 ) requiring a smaller mounting space, requiringa thinner mounting thickness, or operating regardless of the overlapstructure.

According to various embodiments, the front surface 1300 a and the rearsurface 1300 b of the electronic device 1300 may have an area varieddepending on the slide-in state or the slide-out state. According to anembodiment, the electronic device 1300 may include a first rear cover1313 disposed in at least a part of the first housing 1310 and a secondrear cover 1323 disposed on at least a portion of the second housing1320, in the rear surface 1300 b. According to an embodiment, the firstrear cover 1313 and/or the second rear cover 1323 may be disposed in themanner of being coupled with the first support member 1312 and thesecond support member 1322.

According to an embodiment, the first rear cover 1313 may be formedintegrally with the first side member 1311. For another example, thesecond rear cover 1323 may be formed integrally with the second sidemember 1321. According to an embodiment, the first rear cover 1313and/or the second rear cover 1323 may be formed of a polymer, a coatedor colored glass, a ceramic, a metal (e.g., aluminum, stainless steel(STS), or magnesium), or a combination of at least two of the materials.According to an embodiment, the first rear cover 1313 may extend to atleast a portion of the first side member 1311. According to anembodiment, the second rear cover 1323 may extend to at least a portionof the second side member 1321. According to an embodiment, at least anextension portion of the first side member 1311 of the first rear cover1313 may be formed in a curved surface. According to an embodiment, atleast an extension portion of the second side member 1321 of the secondrear cover 1323 may be formed in a curved surface. According to anembodiment, at least a portion of the first support member 1312 may besubstituted with the first rear cover 1313, and at least a portion ofthe second support member 1322 may be substituted with the second rearcover 1323.

According to various embodiments, the electronic device 1300 may includethe flexible display 1330 disposed to be supported by at least a portionof the first housing 1310 and the second housing 1320. According to anembodiment, the flexible display 1330 may include a first part 1330 a(e.g., a plan part) constantly viewed from the outside and a second part1330 b (e.g., a bendable part) that extends from the first part 1330 aand at least partially slides in the inner space of the second housing1320 such that the second part 1330 b is not viewed in the slide-instate. According to an embodiment, the first part 1330 a may be disposedto be supported by the first housing 1310, and the second part 1330 bmay be disposed to be at least partially supported by a bendable member.According to an embodiment, at least a portion of the second part 1330 bof the flexible display 1330 may extend from the first part 1330 a whilebeing supported by the bendable member in the state that the firsthousing 1310 slides out in a specific first direction (the direction of{circle around (1)}), and may form the substantially same plane as thefirst part 1330 a while being viewed from the outside. According to anembodiment, at least a portion of the second part 1330 b of the flexibledisplay 1330 may be disposed to slide in the inner space of the secondhousing 1320 such that the at least a portion of the second part 1330 bis not viewed from the outside, in the state that the first housing 1310slides in the specific second direction (the direction of {circle around(2)}). Therefore, in the electronic device 1300, as the first housing1310 slidably moves in the specific direction from the second housing1320, the display area of the flexible display 1330 may be varied.

According to various embodiments, the first housing 1310 and the secondhousing 1320 may be operated in a sliding manner with respect to eachother, to be varied in whole width. According to an embodiment, theelectronic device 1300 may be, in a slide-in state, configured to have afirst width W1 from the second side surface 13112 to the fourth sidesurface 13211. According to an embodiment, the electronic device 1300may be, in a slide-out state, configured to have a third width W3greater than the first width W1 by moving a portion of the bendablemember sliding in the inner space of the second housing 1320. Forexample, the flexible display 1330 may have a display area substantiallycorresponding to the first width W1, in the slide-in state, and may havean expanded display area substantially corresponding to the third widthW3, in the slide-out state.

According to various embodiments, the slide-out operation of theelectronic device 1300 may be performed through a user operation. Forexample, the electronic device 1300 may be shifted from the slide-outstate to the slide-in state through an operation of the flexible display1330 pushed in a specified first direction (the direction of {circlearound (1)}) through the handling of the user. According to anembodiment, the electronic device 1300 may be shifted from the slide-instate to the slide-out state through an operation of the flexibledisplay 1330 pushed in a specified second direction (the direction of{circle around (2)}) through the handling of the user. According to anembodiment, the electronic device 1300 may maintain the slide-in stateand the slide-out state, as the first housing 1310 is pressed from thesecond housing 1320 in a slide-in direction or a slide-out directionfrom a specific inflection point. According to an embodiment, theelectronic device 1300 may be configured to allow the first housing 1310to slide out in a specific first direction (e.g., the direction of{circle around (1)}) by handling a locker exposed through the rearsurface 1300 b of the electronic device 1300. According to anembodiment, the electronic device 1300 may automatically operate througha driving mechanism (e.g., a driving motor, a deceleration module,and/or a gear assembly) disposed in an inner space of the first housing1310 and/or the second housing 1320. According to an embodiment, theelectronic device 1300 may be set to control the operation of the secondhousing 1320 through the driving mechanism, when an event for thetransition between the slide-in state/slide-out state is detectedthrough the processor (e.g., the processor 120 of FIG. 1 ). According toan embodiment, the processor (e.g., the processor 120 of FIG. 1 ) of theelectronic device 1300 may control the flexible display 1330 to displayan object and execute an application program in a various manners, tocorrespond to the changed display area of the flexible display 1330,depending on the slide-in state, the slide-out state, or theintermediate state (e.g., a free-stop state is included). For example,the intermediate state may refer to the intermediate state between theslide-in state and the slide-out state. For example, the state changedto the slide-out state from the slide-in state may be referred to as theintermediate state. For another example, the state changed to theslide-in state from the slide-out state may be referred to as theintermediate state.

According to various embodiments, the electronic device 1300 may includeat least one of an input device 1303, sound output devices 1306 and1307, sensor modules 1304 and 1317, camera modules 1305 and 1316, aconnector port 1308, a key input device 1319, or an indicator (notillustrated). According to an embodiment, the electronic device 1300 maybe configured such that at least one of the above-described componentsis omitted or other components are additionally included.

According to various embodiments, the input device 1303 may include amicrophone. According to an embodiment, the input device 1303 mayinclude a plurality of microphones disposed to sense the direction ofsound. The sound output devices 1306 and 1307 may include speakers. Thesound output devices 1306 and 1307 may include the call receiver 1306and the external speaker 1307. According to an embodiment, the externalspeaker 1307 may be disposed in the second housing and configured totransmit sound to the outside through a first speaker hole 1307 a.According to an embodiment, the external speaker 1307 is disposed in theinner space of the second housing 1320, thereby providing high-qualitysound to the user regardless of the sliding operation of the firsthousing 1310. According to an embodiment, the connector port 1308 may bedisposed in the inner space of the second housing 1320 together with theexternal speaker 1307. According to an embodiment, the connector port1308 may be disposed in the inner space of the first housing 1310 andmay face the outside through a connector port hole (not illustrated)formed in the second housing 1320, in the slide-in state. In this case,the connector port 1308 may be configured to be covered to be preventedor reduced from being viewed from the outside through the second housing1320, in the slide-in state. According to an embodiment, the receiver1306 may be configured to correspond to an external environment in theinner space of the first housing 1310. In this case, the first housingmay include a sound output hole. According to an embodiment, the soundoutput hole may maintain sound output performance and may be covered tobe prevented or reduced from being viewed from the outside through atleast a portion of the second housing 1320. According to an embodiment,the sound output devices 1306 and 1307 may include a speaker (e.g., apiezo-speaker) operating in the state that a separate speaker hole isexcluded.

According to an embodiment, the sensor modules 1304 and 1317 maygenerate an electrical signal or a data value that corresponds to aninternal operation state or an external environment state of theelectronic device 1300. The sensor modules 1304 and 1317 may include,for example, the first sensor module 1304 (e.g., a proximity sensor oran illuminance sensor) disposed on the front surface 1300 a of theelectronic device 1300 and/or the second sensor module 1317 disposed onthe rear surface 1300 b of the electronic device 1300. According to anembodiment, the first sensor module 1304 may be disposed under theflexible display 1330, on the front surface 1300 a of the electronicdevice 1300. According to an embodiment, the first sensor module 1304and/or the second sensor module 1317 may include at least one of aproximity sensor, an illuminance sensor, a time of flight (TOF) sensor,an ultrasonic sensor, a fingerprint recognition sensor, a gesturesensor, a gyro sensor, a pressure sensor, a magnetic sensor, anacceleration sensor, a grip sensor, a color sensor, an infrared (IR)sensor, a biometrics sensor, a temperature sensor, or a humidity sensor.

According to various embodiments, the camera modules 1305 and 1316 mayinclude the first camera module 1305 disposed on the front surface 1300a of the electronic device 1300 and the second camera module 1316disposed on the rear surface 1300 b of the electronic device 1300.According to an embodiment, the electronic device 1300 may include aflash 1318 positioned in the vicinity of the second camera module 1316.According to an embodiment, the camera modules 1305 and 1316 may includeat least one lens, an image sensor, and/or an image signal processor.According to an embodiment, the first camera module 1305 may be disposedunder the flexible display 1330 and may be configured to photograph asubject through a portion of the active region of the flexible display1330. According to an embodiment, the flash 1318 may include, forexample, a light emitting diode or a xenon lamp.

According to various embodiments, the first camera module 1305 of thecamera modules 1305 and 1316 and/or some sensor modules 1304 of thesensor modules 1304 and 1317 may be disposed to make contact with theexternal environment through an opening or a transmission region formedthrough the flexible display 1330, in the inner space of the electronicdevice 1300. According to an embodiment, a region, which faces the firstcamera module 1305, of the flexible display 1330 may include atransmission region having a specified transmittance while serving as aportion of a region displaying content. According to an embodiment, thetransmission region may be formed to have a transmittance in the rangeof about 5% to about 20%. Such a transmission region may include aregion overlapped with an effective region (e.g., a viewing angleregion), which is to transmit light for forming an image on an imagesensor, of the first camera module 1305. For example, the transmissionregion of the flexible display 1330 may include a region lower in pixeldensity and/or wiring density, as compared to the surrounding region.For example, the transmission region may be substituted with theabove-described opening. For example, some camera modules 1305 mayinclude an under display camera (UDC). According to some embodiments,some sensor modules 1304 may be disposed to perform the intrinsicfunctions thereof in the inner space of the electronic device 1300,without being visually exposed through the flexible display 1330.According to an embodiment, the second camera module 1316 of the cameramodules 1305 and 1316 and/or the sensor module 1317 of the sensormodules 1304 and 1317 may be disposed in the inner space of theelectronic device 1300 to correspond to the external environment throughat least a portion of the first housing (e.g., the first rear cover1313). In this case, the second camera module and/or the sensor module1317 may be disposed at a specific position of the first housing 1310that is constantly viewed from the outside, regardless of the slide-instate and/or the slide-out state.

FIG. 15 is an exploded perspective view of an electronic device,according to certain example embodiments.

Referring to FIG. 15 , the electronic device 1300 may include the firsthousing 1310 including a first space, the second housing 1320 slidablycoupled with the first housing 1310 and including a second space, abendable member 1340 disposed to be at least partially rotatable in thesecond space, the flexible display 1330 disposed to be supported by atleast a portion of the bendable member 1340 and the first housing 1310,and at least one slide hinge module 1360 pressing the first housing 1310in the slide-in direction and/or slide-out direction from the secondhousing 1320. According to an embodiment, the hinge module 1360 mayinclude a motor for moving a partial region of the display into and/orout of the housing. According to an embodiment, the first space of thefirst housing 1310 may be provided through the coupling of a firstbracket housing 1310 a (e.g., the front bracket housing) and a secondbracket housing 1310 b (e.g., the rear bracket housing). According tosome embodiments, at least a portion of the first bracket housing 1310 aand/or the second bracket housing 1310 b may include at least a portionof the first side member 1311 or the first support member 1312 (e.g.,the first support member 1312 of FIG. 3B), or may be substituted withthe first support member 1312. According to an embodiment, theelectronic device 1300 may include a main substrate 1350 disposed in thefirst space. According to an embodiment, the electronic device 1300 mayinclude a camera module (e.g., the camera module 1316 of FIG. 3B) or asensor module (e.g., the sensor module 1317 of FIG. 3B) disposed in thefirst space. According to an embodiment, the bendable member 1340 may bedisposed to have one end fixed to the first housing 1310 and an oppositeend received at least partially to be rotatable in the second space ofthe second housing 1320. According to an embodiment, the bendable member1340 may include a plurality of multi-bars rotatably connected, directlyor indirectly, to each other. According to an embodiment, the bendablemember 1340 may be supported through a shaft-shaped support member 1341disposed in the second space. According to an embodiment, the supportmember 1341 may include a support roller rotatably disposed in thesecond space. According to some embodiments, the electronic device 1300may include a tension providing member which is disposed in the innerspace of the electronic device 1300 and provides tension that preventsor reduces the flexible display 1330 from sagging during movement bysupporting the rear surface of the bendable member 1340. According to anembodiment, the tension providing member may include a tension beltincluding a metal material.

According to various embodiments, the bendable member 1340 may be atleast partially received in the second space, in the slide-in state, andmay at least partially slide out of the second space to formsubstantially the same plane as the first housing 1310, in the slide-outstate. Accordingly, the display area of the flexible display 1330supported by the first housing 1310 and the bendable member 1340 may bevaried depending on the sliding operation. According to an embodiment,the electronic device 1300 may further include a guide rail 1342disposed on side surfaces of the first bracket housing 1310 a and thesecond bracket housing 1310 b, which are coupled, directly orindirectly, to each other, and guided to the inner space of the secondhousing 1320. According to some embodiments, the electronic device 1300may include at least one cover member 13241 or 13242 disposed onopposite side surfaces of the second support member (e.g., the secondsupport member 1322 of FIG. 3B) of the second housing 1320. According toan embodiment, at least one cover member 13241 and 13242 may include thefirst cover member 13241 disposed to at least partially cover the fourthside surface (e.g., the fourth side surface 13211 of FIG. 2A) of thesecond housing 1320 and the second cover member 13242 disposed to atleast partially cover the sixth side surface 13213 (e.g., the sixth sidesurface 13213 of FIG. 2A) of the second housing 1320.

According to an example embodiment, a method for operating an electronicdevice (e.g., the electronic device 101 of FIG. 1 , the electronicdevice 200 of FIG. 2 , the electronic device 300 of FIG. 3 , theelectronic device 400 of FIG. 4 , or the electronic device 1300 of FIGS.13 to 15 ) including a display (e.g., the display module 160 of FIG. 1 ,the display 220 of FIG. 2 , or the display 310 of FIG. 3 ) including aregion movable out of or into a housing by using a motor (e.g., themotor 210 of FIG. 2 or the motor 330 of FIG. 3 ) may include executingan application (e.g., the application 146 of FIG. 1 or the application401 of FIG. 4 ), moving the region of the display to the outside of thehousing at a specific reference speed by using the motor, in response toa specific event, recognizing a time required to display the executionscreen of the application on the display, during the movement of theregion, adjusting the speed of the motor based on the required time, anddisplaying the execution screen of the application, which corresponds tothe state of the display, on the display, while moving the region basedon the adjusted speed of the motor.

According to an embodiment, the method may include adjusting the size ofthe frame buffer for the application, based on the state in which theregion of the display is moved.

Each embodiment herein may be used in combination with any otherembodiment(s) described herein.

According to an embodiment, the required time may include at least oneof a time required to determine the sizes of views included in theexecution screen of the application, a time required to determine thelayout of the views, and a time required to draw the execution screeninto a frame buffer for the application, based on the determined viewand the determined layout.

According to an embodiment, the recognizing of the required time mayinclude recognizing a time required to display the execution screen foreach activity of the application, and storing, in the memory of theelectronic device, information on the time required to display theexecution screen for each activity.

According to an embodiment, the time required to display the executionscreen for each activity may include a time required when an executionscreen corresponding to the activity is first drawn, a time required tochange at least a portion of the execution screen corresponding to thelatest activity, and an average value of times accumulated, which arerequired to change at least a portion of the execution screencorresponding to the activity.

According to an embodiment, the adjusting of the speed of the motor mayinclude adjusting the speed of the motor, based on the time required todisplay the execution screen corresponding to the activity, which iscurrently executed, of activities included in the application.

According to an embodiment, the adjusting of the speed of the motor mayinclude adjusting the speed of the motor in the range of a specificmaximum or high motor speed and a specific minimum or low motor speed.

According to an embodiment, the method may include adding up timesrequired to display execution screens of a plurality of applications andadjusting the speed of the motor based on the added-up time, whileexecuting the plurality of applications through the multi-window.

According to an embodiment, the controlling of the speed of the motormay include controlling the speed of the motor, based on performanceinformation previously stored in the application.

According to an embodiment, the controlling of the speed of the motormay include adjusting the speed of the motor, based on at least one ofthe performance of the processor, the communication state of theelectronic device, and an available capacity of the memory of theelectronic device.

The electronic device according to various embodiments may be one ofvarious types of electronic devices. The electronic devices may include,for example, a portable communication device (e.g., a smartphone), acomputer device, a portable multimedia device, a portable medicaldevice, a camera, a wearable device, or a home appliance. According toan example embodiment, the electronic devices are not limited to thosedescribed above.

It should be appreciated that various embodiments of the presentdisclosure and the terms used therein are not intended to limit thetechnological features set forth herein to particular embodiments andinclude various changes, equivalents, or replacements for acorresponding embodiment. With regard to the description of thedrawings, similar reference numerals may be used to refer to similar orrelated elements. It is to be understood that a singular form of a nouncorresponding to an item may include one or more of the things, unlessthe relevant context clearly indicates otherwise. As used herein, eachof such phrases as “A or B,” “at least one of A and B,” “at least one ofA or B,” “A, B, or C,” “at least one of A, B, and C,” and “at least oneof A, B, or C,” may include any one of, or all possible combinations ofthe items enumerated together in a corresponding one of the phrases. Asused herein, such terms as “1st” and “2nd,” or “first” and “second” maybe used to simply distinguish a corresponding component from another,and does not limit the components in other aspect (e.g., importance ororder). It is to be understood that if an element (e.g., a firstelement) is referred to, with or without the term “operatively” or“communicatively”, as “coupled with,” “coupled to,” “connected with,” or“connected to” another element (e.g., a second element), it means thatthe element may be coupled with the other element directly (e.g.,wiredly), wirelessly, or via at least a third element(s).

As used in connection with certain example embodiments, the term“module” may include a unit implemented in hardware, software, orfirmware, and may interchangeably be used with other terms, for example,“logic,” “logic block,” “part,” or “circuitry”. A module may be a singleintegral component, or a minimum unit or part thereof, adapted toperform one or more functions. For example, according to an embodiment,the module may be implemented in a form of an application-specificintegrated circuit (ASIC). Thus, each “module” herein may comprisecircuitry.

Various embodiments as set forth herein may be implemented as software(e.g., the program 140) including one or more instructions that arestored in a storage medium (e.g., internal memory 136 or external memory138) that is readable by a machine (e.g., the electronic device 101).For example, a processor (e.g., the processor 120) of the machine (e.g.,the electronic device 101) may invoke at least one of the one or moreinstructions stored in the storage medium, and execute it, with orwithout using one or more other components under the control of theprocessor. This allows the machine to be operated to perform at leastone function according to the at least one instruction invoked. The oneor more instructions may include a code generated by a compiler or acode executable by an interpreter. The machine-readable storage mediummay be provided in the form of a non-transitory storage medium. Wherein,the term “non-transitory” simply means that the storage medium is atangible device, and does not include a signal (e.g., an electromagneticwave), but this term does not differentiate between where data issemi-permanently stored in the storage medium and where the data istemporarily stored in the storage medium.

According to an embodiment, a method according to certain exampleembodiments may be included and provided in a computer program product.The computer program product may be traded as a product between a sellerand a buyer. The computer program product may be distributed in the formof a machine-readable storage medium (e.g., compact disc read onlymemory (CD-ROM)), or be distributed (e.g., downloaded or uploaded)online via an application store (e.g., PlayStore™), or between two userdevices (e.g., smart phones) directly. If distributed online, at leastpart of the computer program product may be temporarily generated or atleast temporarily stored in the machine-readable storage medium, such asmemory of the manufacturer's server, a server of the application store,or a relay server.

According to various embodiments, each component (e.g., a module or aprogram) of the above-described components may include a single entityor multiple entities, and some of the multiple entities may beseparately disposed in different components. According to variousembodiments, one or more of the above-described components may beomitted, or one or more other components may be added. Alternatively oradditionally, a plurality of components (e.g., modules or programs) maybe integrated into a single component. In such a case, according tovarious embodiments, the integrated component may still perform one ormore functions of each of the plurality of components in the same orsimilar manner as they are performed by a corresponding one of theplurality of components before the integration. According to variousembodiments, operations performed by the module, the program, or anothercomponent may be carried out sequentially, in parallel, repeatedly, orheuristically, or one or more of the operations may be executed in adifferent order or omitted, or one or more other operations may beadded.

While the disclosure has been illustrated and described with referenceto various embodiments, it will be understood that the variousembodiments are intended to be illustrative, not limiting. It willfurther be understood by those skilled in the art that various changesin form and detail may be made without departing from the true spiritand full scope of the disclosure, including the appended claims andtheir equivalents. It will also be understood that any of theembodiment(s) described herein may be used in conjunction with any otherembodiment(s) described herein.

1. An electronic device comprising: a housing; a motor; a displayincluding a region movable out of and/or into the housing via at leastthe motor; a processor operatively connected with the motor and thedisplay, wherein the processor is configured to: execute an application;control to move the region of the display out of the housing at aspecific reference speed by using at least the motor, in response to aspecific event; recognize a time required to display an execution screenof the application on the display while moving the region; adjust aspeed of the motor, based on the required time; and control to displaythe execution screen of the application, which corresponds to a state ofthe display, on the display, while moving the region at the adjustedspeed of the motor.
 2. The electronic device of claim 1, wherein theprocessor is configured to: adjust a size of a frame buffer for theapplication, based on a state in which the region of the display ismoved.
 3. The electronic device of claim 1, wherein the required timeincludes: at least one of a time required to determine sizes of viewsincluded in the execution screen of the application, a time required todetermine a layout of the views, and a time required to draw theexecution screen into a frame buffer for the application based on thedetermined view and the determined layout.
 4. The electronic device ofclaim 1, wherein the processor is configured to: recognize a timerequired to display the execution screen for each activity of theapplication; and store, in memory, information on the time required todisplay the execution screen for each activity.
 5. The electronic deviceof claim 4, wherein the time required to display the execution screenfor the each activity includes: a time required when the executionscreen corresponding to the activity is first drawn; a time required tochange at least a portion of the execution screen corresponding to thelatest activity; and an average value of times accumulated, which arerequired to change at least a portion of the execution screencorresponding to the each activity.
 6. The electronic device of claim 4,wherein the processor is configured to: adjust the speed of the motor,based on the time required to display the execution screen correspondingto the activity, which is currently executed, of activities included inthe application.
 7. The electronic device of claim 1, wherein theprocessor is configured to: adjust the speed of the motor to be in arange of a specific maximum motor speed and a specific minimum motorspeed.
 8. The electronic device of claim 1, wherein the processor isconfigured to: add up times required to display execution screens of aplurality of applications, while executing the plurality of applicationsthrough a multi-window, and adjust the speed of the motor, based on theadded-up time.
 9. The electronic device of claim 1, wherein theprocessor is configured to: control the speed of the motor, based onperformance information previously stored in the application.
 10. Theelectronic device of claim 1, wherein the processor is configured to:adjust the speed of the motor, based on at least one of performance ofthe processor, a communication state of the electronic device, and anavailable capacity of memory of the electronic device.
 11. A method foroperating an electronic device including a display including a regionmovable out of a housing and/or into the housing via at least a motor,the method comprising: executing an application; moving the region ofthe display out of the housing at a specific reference speed via themotor, in response to a specific event; recognizing a time required todisplay an execution screen of the application on the display, whilemoving the region; adjusting a speed of the motor based on the requiredtime; and displaying the execution screen of the application, whichcorresponds to a state of the display, on the display, while moving theregion at the adjusted speed of the motor.
 12. The method of claim 11,wherein a size of a frame buffer for the application is adjusted, basedon a state in which the region of the display is moved.
 13. The methodof claim 11, wherein the required time includes: at least one of a timerequired to determine sizes of views included in the execution screen ofthe application; a time required to determine a layout of the views; anda time required to draw the execution screen into a frame buffer for theapplication, based on the determined view and the determined layout. 14.The method of claim 11, wherein the recognizing of the required timeincludes: recognizing a time required to display the execution screenfor each activity of the application; and storing information on a timeto display the execution screen for the each activity in a memory of theelectronic device.
 15. The method of claim 14, wherein the time requiredto display the execution screen for the each activity includes: a timerequired when the execution screen corresponding to the activity isfirst drawn; a time required to change at least a portion of theexecution screen corresponding to the latest activity; and an averagevalue of times accumulated, which are required to change at least aportion of the execution screen corresponding to the activity.
 16. Themethod of claim 14, wherein the adjusting of the speed of the motorincludes: adjusting the speed of the motor, based on the time requiredto display the execution screen corresponding to the activity, which iscurrently executed, of activities included in the application.
 17. Themethod of claim 11, wherein the adjusting of the speed of the motorincludes: adjusting the speed of the motor to be in a range of aspecific maximum motor speed and a specific minimum motor speed.
 18. Themethod of claim 11, further comprising: adding up times required todisplay execution screens of a plurality of applications, whileexecuting the plurality of applications through a multi-window, andadjusting the speed of the motor, based on the added-up time.
 19. Themethod of claim 11, wherein the controlling of the speed of the motorincludes: controlling the speed of the motor, based on performanceinformation previously stored in the application.
 20. The method ofclaim 11, wherein the controlling of the speed of the motor includes:adjusting the speed of the motor, based on at least one of performanceof the processor, a communication state of the electronic device, and anavailable capacity of the memory of the electronic device.